package com.Liux.blog.dao;

import com.Liux.blog.entity.Article;
import com.Liux.blog.entity.ArticleVo;
import com.Liux.blog.general.generalDao;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ArticleMapper extends generalDao<Article> {

    List<Article> Top6Article();

    List<ArticleVo> getList();

    List<ArticleVo> getArticleList(int start,int limit);

    int updateArticle(String id,String title,String center);


}